package com.gdupt.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gdupt.entity.DataDictionary;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface DataDictionaryMapper extends BaseMapper<DataDictionary> {
       boolean add(DataDictionary dataDictionary);
       boolean edit(DataDictionary dataDictionary);
       List<DataDictionary> search(IPage page ,@Param(value ="dataType") String dataType, @Param(value = "dataEntry") String dataEntry,@Param(value = "dataValue") String dataValue);
       boolean del(int id);
 //      boolean findId(int id);
}
